<template>
    <div>
        <el-carousel :interval="2000" type="card" height="300px">
            <el-carousel-item v-for="item in 6" :key="item">

            </el-carousel-item>
        </el-carousel>
    </div>
    </template>
<script>
    export default {
        name: "index"

    }
</script>

<style lang="scss" scoped>
    .el-carousel__item h3 {
        color: #475669;
        font-size: 14px;
        opacity: 0.75;
        line-height: 200px;
        margin: 0;
    }

    .el-carousel__item:nth-child(6) {
        background-image: url("imgs/poster1.jpg");
        background-position: center;
        background-repeat:no-repeat;
        background-size: 100% 100%;
    }

    .el-carousel__item:nth-child(5) {
        background-image: url("imgs/poster4.jpg");
        background-position: center;
        background-repeat:no-repeat;
        background-size: 100% 100%;


    }
    .el-carousel__item:nth-child(3) {
        background-image: url("imgs/poster3.jpg");
        background-position: center;
        background-repeat:no-repeat;
        background-size: 100% 100%;


    }
    .el-carousel__item:nth-child(4) {
        background-image: url("imgs/poster2.jpg");
        background-position: center;
        background-repeat:no-repeat;
        background-size: 100% 100%;


    }
    .el-carousel__item:nth-child(7) {
        background-image: url("imgs/poster5.jpg");
        background-position: center;
        background-repeat:no-repeat;
        background-size: 100% 100%;


    }
    .el-carousel__item:nth-child(8) {
        background-image: url("imgs/poster6.jpg");
        background-position: center;
        background-repeat:no-repeat;
        background-size: 100% 100%;


    }
</style>